package com.sky.service.admin;

import com.sky.dto.DishDTO;
import com.sky.dto.DishPageQueryDTO;
import com.sky.pojo.Dish;
import com.sky.result.PageResult;
import com.sky.vo.DishVO;
import io.swagger.v3.oas.annotations.parameters.RequestBody;
import org.springframework.web.bind.annotation.PathVariable;

import java.util.List;

public interface DishService {

    PageResult findDishByPage(DishPageQueryDTO dishPageQueryDTO);

    int addDish(DishDTO dishDTO);

    DishVO findDishById(Long id);

    int deleteDish(List<Long> ids);

    int updateStatus(Integer status, Long id);

    int updateDish( DishDTO dishDTO);

    List<Dish> findByCategoryId(Long categoryId);
}
